 <div class="row">
                        <div class="col-xs-12">
                            
                            <div class="box">
                                <div class="box-header">
                                    <h3 class="box-title">Daftar Pesanan</h3>                                    
                                </div><!-- /.box-header -->
                                <div class="box-body table-responsive">
								<?php

if ( isset( $delete ) )
{
    echo '<div class="alert alert-success alert-dismissable">
                                        <i class="fa fa-check"></i>
                                        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">x</button>
                                        <b>Alert!</b> ' . $delete . '
                                    </div> ' ;
}

?>
                                    <table id="example1" class="table table-bordered table-striped">
                                        <thead>
                                            <tr>
                                                <th>No </th>
                                               
                                                <th>Nomer Pesanan</th>
												<th>Tanggal</th>
												<th>No Konsumen</th>
												<th>No Karyawan</th>
												<th>Jenis Barang</th>
												<th>Jenis Pembayaran</th>
												<th>Angsuran</th>
												<th>Kuantitas</th>
                                                <th>Jumlah</th>
												 <th>Status Pesanan</th>
                                            </tr>
                                        </thead>
                                        <tbody>
										<?php

$no = 1 ;
foreach ( $isi->result() as $row ) { ?>
                                            <tr>
                                                <td><?php echo $no++ ; ?></td>                                               
												<td> <?php echo $row->nomer_pesanan ;  ?></td>
												<td><?php   echo $row->tanggal ; ?></td>
												<td><?php   echo $row->no_konsumen ; ?></td>
												<td><?php   echo $row->no_karyawan ; ?></td>
												<td><?php   echo $row->id_barang ; ?></td>
												<td><?php   echo $row->jenis_pembayaran ; ?></td>
												<td><?php   echo $row->angsuran ; ?></td>
												<td><?php   echo $row->kuantitas; ?></td>
												<td><?php   echo $row->jumlah; ?></td>
												<td><?php  if($row->status_pesanan == 0){echo "Belum dikirim";} else{ echo "Sudah di Proses"; } ?></td>
                                                
                                            </tr>
											<?php } ?>
                                            
                                        </tbody>
                                        <tfoot>
                                            <tr>
                                                <th>No </th>
                                               
                                                <th>Nomer Pesanan</th>
												<th>Tanggal</th>
												<th>No Konsumen</th>
												<th>No Karyawan</th>
												<th>Jenis Barang</th>
												<th>Jenis Pembayaran</th>
												<th>Kuantitas</th>
												<th>Angsuran</th>
                                                <th>Jumlah</th>
												 <th>Status pesanan</th>
                                            </tr>
                                        </tfoot>
                                    </table>
                                </div><!-- /.box-body -->
                            
							
							</div><!-- /.box -->
                        
						
						</div>
                    </div>
